package com.yhz.openapi.entity;

import java.io.Serializable;

public class ApiMapping implements Serializable {
    private Integer id;

    private String gatewayapiname;

    private String insideapiurl;

    private Byte state;

    private String description;

    private String serviceid;

    private String idempotents;

    private String needfee;

    private static final long serialVersionUID = 1L;

    public ApiMapping(Integer id, String gatewayapiname, String insideapiurl, Byte state, String description, String serviceid, String idempotents, String needfee) {
        this.id = id;
        this.gatewayapiname = gatewayapiname;
        this.insideapiurl = insideapiurl;
        this.state = state;
        this.description = description;
        this.serviceid = serviceid;
        this.idempotents = idempotents;
        this.needfee = needfee;
    }

    public ApiMapping() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGatewayapiname() {
        return gatewayapiname;
    }

    public void setGatewayapiname(String gatewayapiname) {
        this.gatewayapiname = gatewayapiname == null ? null : gatewayapiname.trim();
    }

    public String getInsideapiurl() {
        return insideapiurl;
    }

    public void setInsideapiurl(String insideapiurl) {
        this.insideapiurl = insideapiurl == null ? null : insideapiurl.trim();
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getServiceid() {
        return serviceid;
    }

    public void setServiceid(String serviceid) {
        this.serviceid = serviceid == null ? null : serviceid.trim();
    }

    public String getIdempotents() {
        return idempotents;
    }

    public void setIdempotents(String idempotents) {
        this.idempotents = idempotents == null ? null : idempotents.trim();
    }

    public String getNeedfee() {
        return needfee;
    }

    public void setNeedfee(String needfee) {
        this.needfee = needfee == null ? null : needfee.trim();
    }
}